﻿<DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
  <style type="text/css">
  a[href="https://www.baidu.com"]
  {
   color:red ;
   }



</style>
</head>
<body>
  <h1>这个可以
  </h1>
  <a href="https://www.baidu.com">百度</a>
  <hr/>
  <h1>这个就不行</h1>
  <a href="http://www.w3school.com.cn/tiy/t.asp?f=csse_selector_attribute_value_1">w3schoo</a>

  







</body>






</html>